from django.test import TestCase

class base:
    num = 1
    def showNum(self):
        return self.num

class base2:
    book = 'python'
    def showbook(self):
        return self.book, self.name

class basebase:
    name = 'lisi'
    age = 18
    def show(self):
        return self.name, self.age

class A(base2,basebase,base):
    pass
a = A()
print(a.showbook())